package cn.yunhe.action;

import cn.yunhe.util.BaseActionUtil;
import lombok.Data;

import java.io.IOException;
import java.io.PrintWriter;

@Data
public class VoteAction extends BaseActionUtil {
    private String selVote;

    public String vote() throws IOException {
        PrintWriter out = getResponse().getWriter();
        out.print("<h2>本次投票的结果为:<h2>" + getSelVote());
        return null;
    }
}
